* {
	margin: 0;
	padding: 0;
	list-style: none;
	box-sizing: border-box;
}

#app {}

[v-cloak] {
	display: none !important;
}

/*flex布局*/

.flex-auto {
	flex: 1;
	overflow: auto;
}

.x-bc {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.f-dc {
	display: flex;
	flex-direction: column;
}

.x-ec {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

/* x水平排列*/
.x-f {
	display: flex;
	align-items: center;
}

/*x两端且水平居中*/
.x-bc {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/*x平分且水平居中*/
.x-ac {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

/*x水平靠上对齐*/
.x-start {
	display: flex;
	align-items: flex-start;
}

/*x水平靠下对齐*/
.x-end {
	display: flex;
	align-items: flex-end;
}

/*上下左右居中*/
.x-c {
	display: flex;
	justify-content: center;
	align-items: center;
}

/*y竖直靠左*/
.y-start {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/*y竖直靠右*/
.y-end {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

/*y竖直居中*/
.y-f {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* y竖直两端*/
.y-b {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*y竖直两端居中*/
.y-bc {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

/* 修改选中的luckysheet样式，但是ios移动端不生效 */
/* .luckysheet-cell-selected {
	z-index: 9999999999 !important;
}

.luckysheet-cell-selected-focus {
	background-color: #ff0000 !important;
} */

/* .luckysheet-cell-main {
	z-index: 1 !important;
} */

.van-nav-bar .van-icon {
	color: #333 !important;
}

.van-nav-bar .van-nav-bar__text {
	color: #333;
}

/* 导航栏右侧盒子 */
.NavbarRight {
	display: flex;
	align-items: center;
}

#luckysheet {
	-webkit-overflow-scrolling: touch;
	padding: 0px;
	width: 100%;
}

.luckysheet-paneswrapper {
	overflow: auto !important;
	-webkit-overflow-scrolling: touch;
}

.luckysheet-scrollbar-ltr {
	-webkit-overflow-scrolling: touch;

}

.luckysheet-grid-container {
	top: 0 !important;
}

/* 拖拽按钮 */
#drag-button {
	position: absolute;
	top: 80vh;
	left: 40px;
	/* transform: translate(-50%, -50%); */
	z-index: 999;
}

/* 拖拽盒子 */
#drag-button .buttonBox {
	border-radius: 50%;
	width: 70px;
	height: 70px;
	line-height: 70px;
	text-align: center;
	color: #fff;
	border: none;
	border-radius: 5px;
}

/* 可拖拽按钮 */
#drag-button .buttonBox .button {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	/* background-color: #3ab09e; */
	background-color: #3ab09e;
	position: relative;
	color: #fff;
	text-align: center;
	left: 50%;
	margin-left: -35px;
	z-index: 3;
}

/* 按钮中伪类样式 */
.button::after {
	content: "+";
	position: absolute;
	/* inset: -4.5px; */
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3.5em;
}

/* 子盒子 */
.icons {
	width: 0%;
	height: 70px;
	list-style: none;
	padding: 16px 10px 10px 50px;
	background-color: #fff;
	box-shadow: 1px 1px 1px 1px #dcdcdc;
	border-radius: 3em;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	margin: -70px 0 0 8%;
	overflow: hidden;
}

.icons li {
	width: 80px !important;
}

.icons li i {
	color: #3ab09e;
	font-size: 1.5em !important;
}

.icons li:nth-child(1) {
	margin-left: 24px;
}

/* 点击按钮后，添加触发样式，旋转 */
.button.active {
	transform: rotate(45deg);
}

/* 点击按钮后，将盒子展开 */
.icons.open {
	width: 260px;
}

/* 按钮动画效果 */
.button,
.icons {
	/* transition: all .5s; */
	transition: all .8s cubic-bezier(0.85, -.57, 0.37, 2.99);
}

.ToolText {
	color: #333;
	font-size: 12px;
	display: block;
}

/* 底部输入框 */
.van-search {
	padding: 5px 5px;
}

.van-search__content {
	background-color: #fff;
	border: 1px solid #e9e6e6;
}

.luckysheet-freezebar-drop {
	display: none;
}

.bottom {
	background-color: #fff;
	box-shadow: 0px -14px 8px -17px #ececec;
	z-index: 3;
}

.bottom .buttonBox {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bottom .buttonBox .BottomLeft {
	display: flex;
	align-items: center;
	padding-left: 10px;
}

.bottom .buttonBox .BottomLeft .StatusBox {
	display: flex;
	align-items: center;
}

.bottom .buttonBox .BottomLeft .StatusBox .StatusText {
	font-size: 12px;
	margin-left: 4px;
}

.bottom .buttonBox .BottomLeft .StatusBox .deviceStatus {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #999;
}

.bottom .buttonBox .BottomLeft .LeftTextBox {
	padding-left: 10px;
	font-size: 12px;
	color: #999;
}

.bottom .buttonBox .btnBox {
	height: 40px;
	padding-right: 10px;
}

.bottom .buttonBox .btnBox .van-button {
	width: fit-content;
	min-width: 100px;
}



/* tab弹窗表 */
.el-tabs--border-card {
	box-shadow: initial !important;
	border: none !important;
}

.PageBox {
	position: relative;
	margin-top: 8px;
	margin-bottom: 8px;
}

.PageBox .PageLeftBox {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	color: #999;
}

.PageBox .PageRightBox {
	padding-left: 10px;
}

.PageBox .PageRightBox .van-pagination {
	max-width: 300px;
	margin: 0 auto;
}

/* .van-radio {
				margin-bottom: 15px;
			} */
/* 单据列表 */
.el-table__header .el-table .el-table__cell {
	padding: 8px 0 !important;
}

.el-tabs--border-card>.el-tabs__content {
	padding: 0 15px !important;
}

/* 主表 */
.FormBox .van-cell {
	padding: 8px 16px !important;
}

/* 历史单据新增弹层 */


.AddTabPopup .el-tab-pane {
	height: 100%;
}

.AddPopup {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.AddPopup .AddPopupMainBox {
	flex: 1;
	overflow: auto;
}

.AddPopup .AddPopupMainBox .FormBox {
	display: grid;
	/* 盒子最大最小宽度 */
	grid-template-columns: repeat(auto-fit, minmax(200px, 280px));
	/* 行间距 */
	/* grid-auto-rows: 3rem; */
}

/* 底部按钮组 */
.AddPopup .PopupBottomSubBtn {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	box-shadow: 1px 1px 11px -9px #333;
}

/* Tabs页签弹窗 */
.PopupTabsBox {
	position: relative;
}

.PopupTabsBox .RefreshIcon {
	position: absolute;
	top: 10px;
	right: 20px;
	z-index: 999;
	width: fit-content;
	color: #999;
}


/* 遮罩层 */
.LoadingOverlay {
	/* background-color: rgba(0, 0, 0, .5) !important; */
	background-color: transparent !important;
	z-index: 99999999;
}

/* 加载 */
.LoadingBox {
	position: relative;
	width: 210px !important;
	height: 100px !important;
}

.TheLoading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.LoadingOverlay .wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.LoadingOverlay .block {
	width: 210px !important;
	/* height: 100px !important; */
	border-radius: 12px !important;
	background: #4d4d4d !important;
	text-align: center;
	color: #fff;
	padding: 0 0 15px;
}

.spinner-6 {
	/* 加载大小 */
	width: 60px;
	aspect-ratio: 1;
	display: grid;
	-webkit-mask: conic-gradient(from 15deg, #0000, #000);
	animation: s6 1s infinite steps(12);
}

.spinner-6,
.spinner-6:before,
.spinner-6:after {
	background:
		radial-gradient(closest-side at 50% 12.5%,
			#f03355 96%, #0000) 50% 0/20% 80% repeat-y,
		radial-gradient(closest-side at 12.5% 50%,
			#f03355 96%, #0000) 0 50%/80% 20% repeat-x;
}

.spinner-6:before,
.spinner-6:after {
	content: "";
	grid-area: 1/1;
	transform: rotate(30deg);
}

.spinner-6:after {
	transform: rotate(60deg);
}

@keyframes s6 {
	100% {
		transform: rotate(1turn)
	}
}

.bottom {
	z-index: 999;
	height: 56px;
}

.bottom .buttonBox {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 56px;
	width: 100%;
	background-color: #fff;
}


.van-search,
.searchBox {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 99;
	padding: 15px 10px;
	background-color: #fff;
}

.IptStyle {
	height: 30px;
	flex: 1;
}

.confirmBtn {
	height: 30px;
	width: 100px;
}


/* 光谱仪弹层样式 */

.rowDevice {
	max-height: 80vh;
	min-height: 50vh;
	width: 80vw;
	border-radius: 12px;
}

.rowDevice .el-select .el-input .el-select__caret {
	color: #c0c4cc !important;
}

.rowDeviceBox {
	padding: 10px;
}

.rowDeviceBox .el-input-group__prepend {
	width: 50%;
	overflow-x: auto;
	border-radius: 0 !important;
}

.rowDeviceBox .el-input__inner {
	border-radius: 0 !important;
}